﻿<%@ Page Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="AddProductRelative.aspx.cs" Inherits="VCN.admin.AddProductRelative" %>

<asp:Content ID="Content17" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table width="100%" cellspacing="3" cellpadding="3" border="0">
        <tbody>
            <tr>
                <th scope="col" class="title" colspan="2" style="color: #0099FF">
                    <h2 style="color: #0099FF; font-size: x-large">
                        THÊM SẢN PHẨM LIÊN QUAN MỚI</h2>
                </th>
            </tr>
            <tr>
                <td colspan="2" class="row" align="center" style="color: #0099FF; height: 5px;">
                    </td>
            </tr>
            <tr>
                <td class="row" 
                    style="height: 32px; width: 18%; color: #0099FF; text-align: left; font-weight: bold;">
                    Tên loại sản phẩm&nbsp; </td>
                <td width="46%" align="left" class="row" style="height: 32px; width: 70%;">
                    <asp:DropDownList ID="ddl_Category" runat="server" Width="173px" 
                        onselectedindexchanged="ddl_Category_SelectedIndexChanged" 
                        AutoPostBack="True">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="row" 
                    style="height: 32px; width: 18%; color: #0099FF; text-align: left; font-weight: bold;">
                    Tên sản phẩm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
                <td width="46%" align="left" class="row" style="height: 32px; width: 70%;">
                    <asp:DropDownList ID="ddl_Product" runat="server" Width="173px">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="ddl_Product">(*) Không có tên sản phẩm nào được chọn</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="row" 
                    style="height: 32px; width: 18%; color: #0099FF; text-align: left; font-weight: bold;">
                    Tên SP liên quan&nbsp;&nbsp;&nbsp; </td>
                <td width="46%" align="left" class="row" style="height: 32px; width: 70%;">
                    <asp:TextBox ID="m_txt_RelativeProductName" runat="server" Width="170px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="m_txt_RelativeProductName">(*) Chưa nhập tên SP liên quan</asp:RequiredFieldValidator>
                    
                </td>
            </tr>
            <tr>
                <td class="row" 
                    style="height: 32px; width: 18%; color: #0099FF; text-align: left; font-weight: bold;">
                    Ảnh sản phẩm&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </td>
                <td width="46%" align="left" class="row" style="height: 32px; width: 70%;">
                    <br />
                    <asp:FileUpload ID="FileUpload" runat="server" 
                        ToolTip="Click here to upload an image for product." />
                    <asp:Label ID="lbl_Error" runat="server" Font-Bold="True" ForeColor="Red" 
                        Text="(*) Phải chọn ảnh sản phẩm" Visible="False"></asp:Label>
                    <br />
                    <br />
                    
                </td>
            </tr>
            <tr>
                <td height="43" align="right" class="save" 
                    style="width: 18%; color: #0099FF; font-weight: bold">
                    &nbsp;
                </td>
                <td height="43" align="left">


                    &nbsp;<asp:Button ID="btnAdd" runat="server" Text="Thêm mới" 
                        onclick="btnAdd_click"  />
                    &nbsp;<asp:Button ID="btnReset" runat="server" Text="Xóa trắng" 
                        onclick="btnReset_Click" CausesValidation="False"/>
                    &nbsp;<asp:Button ID="btnCancel" runat="server" Text="Thoát" 
                         CausesValidation="False" onclick="btnCancel_click" />
                </td>
            </tr>
        </tbody>
    </table>
</asp:Content>

